package com.hxy.subject.domain.convert;

import com.hxy.subject.domain.entity.SubjectJudgeBO;
import com.hxy.subject.infra.basic.entity.SubjectJudge;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/9/8 19:34
 */
@Mapper
public interface SubjectJudgeConverter {
    SubjectJudgeConverter INSTANCE = Mappers.getMapper(SubjectJudgeConverter.class);

    SubjectJudge subjectJudgeBoToJudge(SubjectJudgeBO bo);

    List<SubjectJudgeBO> subjectJudgeToBoList(List<SubjectJudge> list);
}
